package com.baizhi.finalx;

public class FinalDemo02 {

    public static void main(String[] args) {
        //final修饰引用类型变量的时候，地址不能改变
       final int[] arr = {1,2,3,4,5};

      // arr = new int[45];

        System.out.println(arr[0]); //1

        arr[0] = 111;
        System.out.println(arr[0]);


        int[] brr = {1,2,3};
        brr = new int[21];


    }
}
